package org.springside.core.dao;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("rawtypes")
public abstract interface EntityDao<T>
{
  public abstract T get(Serializable paramSerializable);

  public abstract List<T> getAll();

  public abstract void save(Object paramObject);

  public abstract void remove(Object paramObject);

  public abstract void removeById(Serializable paramSerializable);

  public abstract String getIdName( Class paramClass);

  public abstract void update(Object paramObject);

  public abstract void saveOrUpdate(Object paramObject);

  public abstract Serializable saveAndgetPk(Object paramObject);
}